'use strict';
const db=uniCloud.database()
exports.main = async (event, context) => {

	let {title,year,mouth,day,dengji,contain,relationship,image,id,novel} = event;
	let res = await db.collection("novelshijianlist").add({
		title,year,mouth,day,dengji,contain,relationship,image,id,novel
	});
	return res;
};


